<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<%@include file="/common.jsp" %>
<script type="text/javascript">
</script> 
<body>
<div id="w" class="easyui-window" title="请先绑定账号" 
   	data-options="modal:true,closed:false,iconCls:'icon-man',closable:false,minimizable:false" style="width:400px;padding:20px 70px 20px 70px;">
   	<form id="loginForm" method="post"> 	
		<input type="hidden" name="refreshToken" value="${refreshToken}">
		  <div style="margin-bottom:10px">
		       <input class="easyui-textbox" id="username" name="username" style="width:100%;height:30px;padding:12px" 
		       	value="admin"
		       	data-options="prompt:'请输入登录账号',iconCls:'icon-man',iconWidth:38,required:true">
		   </div>
		   <div style="margin-bottom:20px">
		       <input class="easyui-textbox" id="password" name="password" type="password" style="width:100%;height:30px;padding:12px" 
		       	value="1"
		       	data-options="prompt:'请输入登录密码',iconCls:'icon-lock',iconWidth:38,required:true">
		   </div>
		   <c:if test="${captchaOpen }">
		   	<div style="margin-bottom:20px">
		        <input class="easyui-textbox" type="text" name="captcha"
		        	style="width:50%;height:30px;padding:12px" data-options="prompt:'验证码'">
					<img id="captchaImg" style="margin:0 0 0 3px ; vertical-align:middle; height:26px;" 
					alt="验证码" src="${pageContext.request.contextPath }/captcha.jpg" onclick="getCaptcha()">
		    </div>
		   </c:if>
		   <div>
		       <a href="javascript:;" onclick="submitForm()" class="easyui-linkbutton" data-options="iconCls:'fi-power icon-black'" style="padding:5px 0px;width:100%;">
		           <span style="font-size:14px;">绑定</span>
		       </a>
		   </div>
	</form> 
</div> 
</body>
</html>  